//netd global define 


#ifndef _NETD_H_
#define _NETD_H_

#include "config.h"

//interface
void dispatch();
void init_net();

void netd_log(int level, const char* fmt, ...);
void netd_abort(const char* reason);

#define LOG_NORMAL 0
#define LOG_CRITICAL 1

#endif
